package com.hydl.power.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hydl.power.pojo.CabinetDevice;
import com.hydl.power.pojo.LowVoltageCircuitBreaker;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wxx
 * @since 2021-03-03
 */
public interface LowVoltageCircuitBreakerMapper extends BaseMapper<LowVoltageCircuitBreaker> {

    LowVoltageCircuitBreaker getDeviceByCircuitId(String circuitId);

    void addLowVoltageCircuitBreaker(LowVoltageCircuitBreaker lowVoltageCircuitBreaker);

    void updateLowVoltageCircuitBreaker(Integer id, String name, String manufactor, String serialNumber, String modelNumber, String productionTime, String circuitId, String projectId, String projectName, String powerRoomId, String powerRoomName, String ue, String lcu, String ln);

    void deleteLowVoltageCircuitBreaker(Integer id);

    List<CabinetDevice> getDeviceByProjectId(String projectId);
}
